import React, {Component} from 'react'


export default class extends Component {

  constructor(){
    super()
    this.state={
      name: '李柏成',
      age: 21,
    }
  }

  getRefFunc = () => {
    console.log("子组件ref打印")
  }

  render(){
    return(
      <div>子组件</div>
    )
  }
}